CSS [custom?] attributes

Posted by Michael on Stack Overflow See other posts from Stack Overflow or by Michael
Published on 2010-05-03T02:30:41Z Indexed on 2010/05/03 2:38 UTC
Read the original article Hit count: 305

Filed under:
|
|
radio[pane] {
 list-style-image: url("jar:resource:///chrome/classic.jar!
         /skin/classic/browser/preferences/Options.png");
}

radio[pane="prefpane-appearance"] {
 -moz-image-region: rect(0px, 32px, 32px, 0px);
}
radio[pane="prefpane-appearance"]:hover,
radio[pane="prefpane-appearance"][selected="true"] {
 -moz-image-region: rect(32px, 32px, 64px, 0px);
}

Can anyone explain a syntax of this css, particularly what is pane.. I couldn't find such attribute for radio element in context of XUL. So I guess it's some custom attribute? If it is, then how it is evolving through the lines, first declaration, then several assignments? It has also selected, which means can have multiple custom attributes? How can those attributes be used later?

© Stack Overflow or respective owner

Related posts about css

Related posts about xul